package com.zhj.micro.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhj.micro.order.entity.Order;

import org.apache.ibatis.annotations.Param;


public interface OrderMapper extends BaseMapper<Order> {
    int insert(Order record);

    Order selectOneByOrderId(String orderId);

    boolean updateStatus(@Param("orderId") String orderId, @Param("status") Integer status);
}
